using System.Linq;
using System.Web.Mvc;
using Presentation.Web.UI.App_Start;
using Presentation.Web.UI.ViewEngines;

[assembly: WebActivator.PreApplicationStartMethod(typeof(MobileViewEngines), "Start")]
namespace Presentation.Web.UI.App_Start
{
    public static class MobileViewEngines{
        public static void Start() 
        {
            System.Web.Mvc.ViewEngines.Engines.Insert(0, new MobileCapableRazorViewEngine());
        }
    }
}